//
//  ViewController.m
//  haha01
//
//  Created by lanouhn on 16/7/18.
//  Copyright © 2016年 WZ. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    NSLog(@"哈哈哈哈哈啊哈哈哈哈啊哈");
    NSLog(@"尽快送福利看电视剧 of搜救方数据库方面我理解放开我 ");
    NSLog(@"能看见哦按时间段来开始就看林俊杰了会计师 就会计师的开发加快速度计算机是");
    UIAlertController * aVC = [UIAlertController alertControllerWithTitle:@"标题" message:@"内容" preferredStyle: UIAlertControllerStyleAlert];
    UIAlertAction * confirmAcrion =[UIAlertAction actionWithTitle:@"确认" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
        NSLog(@"你好坏");
    }];
    [aVC addAction:confirmAcrion];
    UIAlertAction * cancleAction = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
        NSLog(@"nihao ");
    }];
    [aVC addAction:cancleAction];
    [self presentViewController:aVC animated:YES completion:nil];
    //    参数1:
    //    参数2:
    //    参数3:
    //    参数4:
    
    self.view.backgroundColor =[UIColor colorWithRed:arc4random() % 256/ 255.0 green:arc4random() % 256/ 255.0 blue:arc4random() % 256 /255.0 alpha:arc4random() % 256/255.0];
    
    NSLog(@"ethashehtethanethanethan");
    
     NSLog(@"ethashehtethanethanethan");
     NSLog(@"ethashehtethanethanethan");
    
    self.view.backgroundColor =[UIColor cyanColor];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
